package demo2;

public class Test {
    public static void main(String[] args) {
        BinaryTree tree = new BinaryTree();
        String str = "ABD##E#H##CF##G##";
        BinaryTree.TreeNode root = tree.preCreateTree(str);
        tree.postTraversalIteration(root);
        System.out.println();
        System.out.println("==========");
        tree.postTraversal(root);
    }
}
